body{
  background-color: rgb(244, 246, 245);
}
html{
  font-size: 10mm;
}
main {
  width: 100vw;
  >.background{
    z-index: -5;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: #8b959c;
    opacity: 0;
  }

  >.changebudget{
    z-index: -5;
    opacity: 0;
    position: fixed;
    width: 86vw;
    background-color: #fff;
    display: flex;
    justify-content: end;
    flex-direction: column;
    padding: 20px;
   top: 30%;
   left: 7%;
    >span{
      font-size: 22px;
      font-weight: bold;
      
    }
    >div{
      border-bottom: 3px solid #66A4EB;
     
      padding-top: 20px;
     
      font-size: 20px;
      color: #8b959c;
      >input{
        border: none;
        font-size: 20px;
        padding-left: 10px;
        outline:none
      }
    }
    
    >button{
     right: 0px;
     border: none;
     background: none;
     font-size: 18px;
     color: #66A4EB;
     font-weight: bold;
     padding-top: 20px;
     align-self: flex-end;
    }
  }

  >.showchangebudget{
    z-index: 5;
    opacity: 1;
  }
  >.showbackground{
    z-index: 5;
    opacity: .4;
  }


  > .sum {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 4.6rem;
    width: inherit;
    overflow: hidden;
    position: relative;

    > img {
      width: 100vw;
      position: absolute;
      z-index: -1;
      top: -80px;
    }

    > .word {
      padding-left: 0.6rem;
      padding-bottom: 0.2rem;
      color: #fff;
      font-size: 13px;
      font-weight: bold;
      letter-spacing: 1.2px;
      > input {
        background: transparent;
        border: none;
        font-size: 25px;
        color: #fff;
        padding: 10px 0;
        outline: none;
      }
      > div:nth-of-type(2) {
        display: flex;
        justify-content: flex-start;
        > span {
          > input {
            width: 100px;
            background: transparent;
            border: none;
            color: #fff;
        outline: none;

          }
        }
      }
    }
  }

  > .branch {

    width: inherit;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 12px;


    > .vip {
      width: 94%;
      height: 1.4rem;
      background-color: #fff;
      border-radius: 10px;
      padding: 0 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      > span {
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 1.2px;
      }
      > div {
        > button:nth-of-type(1) {
          background-color: #f1673c;
          border: none;
          padding: 4px 8px;
          border-radius: 6px;
          color: #fff;
          font-size: 12px;
        }
        > button:nth-of-type(2) {
          background-color: transparent;
          border: none;
          padding: 0 10px;
          > img {
            width: 0.3rem;
            height: 0.3rem;
          }
        }
      }
    }

    > .budget {
      width: 94%;
      // height: 1.4rem;
      background-color: #fff;
      border-radius: 10px;
      padding: 6px 10px;
      margin-top: 12px;
      overflow: hidden;
      > div:nth-of-type(1) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        > span {
          font-size: 14px;
          font-weight: bold;
          letter-spacing: 1.2px;
        }
        > span:nth-of-type(2) {
          font-size: 18px;
        }
      }

      > .roll[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
        outline: 0;
        background-color: transparent;
        width: inherit;
      }
      [type="range"]::-webkit-slider-runnable-track {
        height: 4px;
        background: #848785;
      }
      [type="range" i]::-webkit-slider-container {
        height: 20px;
        overflow: hidden;
      }
      [type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #64b084;
        border: 1px solid transparent;
        margin-top: -8px;
        border-image: linear-gradient(#64b084, #64b084) 0 fill / 8 20 8 0 / 0px
          0px 0 2000px;
      }

      > div:nth-of-type(2) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        > span {
          font-size: 12px;
          font-weight: bold;
          letter-spacing: 1.2px;
          display: flex;
          color: #88929b;
          > input {
            border: none;
            width: 40px;
            color: #88929b;
            font-size: 12px;
          }
        }
      }
    }

    > .pay {
      width: 94%;
      background-color: #fff;
      border-radius: 10px;
      padding: 6px 10px;
      margin-top: 12px;
      overflow: hidden;
      > div:nth-of-type(1) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        > span {
          font-size: 14px;
          font-weight: bold;
          letter-spacing: 1.2px;
        }
        > span:nth-of-type(2) {
          font-size: 18px;
        }
      }
      > span {
        font-size: 12px;
        font-weight: bolder;
        letter-spacing: 1.2px;
        display: flex;
        color: #88929b;
        > input {
          border: none;

          color: #88929b;
          font-size: 12px;
        }
      }


      //统计图
      > .statistics {
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;

        > li {
          width: calc(100% / 7);

          margin-right: 10px;
          display: flex;
          // height: 100px;
          flex-direction: column;

          justify-content: space-around;
          align-items: center;
          > input {
            width: 60%;
            background-color: transparent;
            border: none;
            text-align: center;
            color: #eb585e;
          }
          > div {
            height: 50px;
            background-color: #eb585e;
            width: 10px;
            border-radius: 20px;
          }
          > span {
            font-size: 12px;
            color: #88929b;
          }
        }
      }
    }


    >.everyBox{
      width: 94%;
      background-color: rgb(244, 246, 245);
      > .everyday {
        width: 100%;
        background-color: #fff;
        border-radius: 10px;
        padding: 6px 10px;
        margin-top: 12px;
        margin-bottom: 12px;
        overflow: hidden;
        > .title {
          display: flex;
          justify-content: space-between;
          align-items: center;
          > div {
            > span {
              padding: 0 4px;
              text-align: center;
              font-size: 14px;
              font-weight: bold;
            }
            >.in_up{
             
                > span {
                  padding: 0 4px;
                  text-align: center;
                  font-size: 14px;
                  font-weight: bold;
              }
             
            }
          }
        }
        > .type {
          display: flex;
          flex-direction: column;
          width: 8.6rem;
  
          > li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            // padding-top: 6px;
            height: 50px;
            > div:nth-of-type(1) {
              height: inherit;
              display: flex;
              justify-content: center;
              align-items: center;
              > div:nth-of-type(1) {
                width: 28px;
                height: 20px;
                display: flex;
                justify-content: center;
  
                > span {
                  display: block;
                  width: 5px;
                  height: 6px;
                  background-color: #eb585e;
                  border-radius: 50%;
                }
              }
              > div:nth-of-type(2) {
                display: inline-block;
                line-height: 16px;
               
                > span:nth-of-type(1) {
                  font-size: 16px;
                  display: block;
                }
                > .del {
                  text-decoration: line-through 2px black;
                }
                > span:nth-of-type(2) {
                  display: inline-block;
                  font-size: 13px;
                  height: 16px;
                  width: 200px;
                  margin-top: 4px;
                  color: #88929b;
                  overflow: hidden;
                }
              }
            }
            > div:nth-of-type(2) {
              color: #eb585e;
            }
          }
  
          >.in{
            > div:nth-of-type(1) {
              > div:nth-of-type(1) {
                > span {
                  background-color: #64B084;
                }
              }     
            }
            > div:nth-of-type(2) {
              color: #64B084;
            }
          }
  
        }
      }
    }

 
  }
}

footer {
  .fixed {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3b92f1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 0 4px 8px 1px #5f9ad6;
  }
  .fixed i {
    display: block;
    transform: rotate(45deg);
    color: white;
  }
}
